package com.gqmk.demo.springcloudprovider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication(scanBasePackages = {"com.gqmk.demo"})
// 开启微服务注册和发现
@EnableEurekaClient
//@EnableDiscoveryClient
public class SpringcloudProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringcloudProviderApplication.class, args);
    }

}
